#ifndef _VECTOR2_H
#define _VECTOR2_H
#include <math.h>

#ifndef _MATRIX3_
#define _MATRIX3_
typedef struct {
	float M[3][3];	
} Matrix3;
#endif

typedef struct {
	float x;
	float y;
} Vector2;

Vector2 originVector2();
Vector2 copyVector2(Vector2 old);
Vector2 transformVector2(Vector2 old, Matrix3 transformation);
float lengthVector2(Vector2 vec);
float lengthSquareVector2(Vector2 vec);

#endif
